import request from '@/utils/request';

/**
 * rtk和license分页列表查询
 * @param params
 * @returns
 */
export async function queryRtkLicenseList(params: any): Promise<any> {
  return request.get('/msextendsapi/rtkLicenseList', {
    params,
  });
}

/**
 * 2.2.2.2 rtk和license查询列表导出
 * @param params
 * @returns
 */
export async function exportRtkLicenseList(params: {
  brandId?: string;
  vin?: string;
  beginActivationDate?: string;
  endActivationDate?: string;
}): Promise<any> {
  return request.get('/msextendsapi/exportRtkLicense', {
    params,
  });
}
